import request from '@/utils/request/ossRequest';

// 获取apk包上传STS授权
export function ossApkAuth(data) {
  return request({
    url: '/gpt/api/app/ai-model-data-ctht/get-static-auth-token',
    method: 'post',
    data: data,
  });
}

// oss直传鉴权
export function ossAuth(data) {
  return request({
    url: '/gpt/api/app/ai-model-data-ctht/get-image-auth-token',
    method: 'post',
    data: data,
  });
}

// oss直传鉴权
export function ossImgProcess(data) {
  return request({
    url: '/gpt/api/app/process-oss-image/dealing-with-oss-file',
    method: 'post',
    data: data,
  });
}
